﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OAProject.Domain.Interfaces;

/// <summary>
/// 菜单MVC控制器
/// </summary>
namespace OAProject.Web.Controllers
{
    public class MenusWebController : Controller
    {
        /// <summary>
        /// 框架
        /// </summary>
        /// <returns></returns>
        public IActionResult Index()
        {
            //获取存入的用户id
            int id =Convert.ToInt32( Common.RedisHelper.Get("Userid"));
            ViewBag.id = id;
            return View();
        }

        /// <summary>
        /// 菜单页面
        /// </summary>
        /// <returns></returns>
        public IActionResult Show()
        {
            return View();
        }

    }
}
